// 房价模块
import { requestClient } from '#/api/request';
// 房价查询
export async function getRoomTypePriceList(data: any) {
  return requestClient.post('/admin/user/roomTypeInfo/pageList', data);
}
// 弹窗房型价格维护
export async function updateRoomPrice(data: any) {
  return requestClient.post('/admin/user/roomTypeInfo/updatePrice', data);
}
// 弹窗房型库存维护
export async function updateRoomStock(data: any) {
  return requestClient.post('/admin/user/roomTypeInfo/updateStock', data);
}
// 弹窗房型价格维护
export async function updateCalendarRoomPrice(data: any) {
  return requestClient.post(
    '/admin/user/roomTypeInfo/calendar/updatePrice',
    data,
  );
}
// 弹窗房型库存维护
export async function updateCalendarRoomStock(data: any) {
  return requestClient.post(
    '/admin/user/roomTypeInfo/calendar/updateStock',
    data,
  );
}
// 开关房
export async function updateRoomStatus(data: any) {
  return requestClient.post('/admin/user/roomTypeInfo/updateRoomStatus', data);
}
